package com.gmu.mapper;

import com.gmu.pojo.TblStudent;
import com.gmu.pojo.TblTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 * 教师信息 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
public interface TblTeacherMapper extends BaseMapper<TblTeacher> {

    List<TblTeacher> getTeacherByCondition(@Param("name") String name, @Param("telephone") String telephone, @Param("idNumber") String idNumber,@Param("academy") String academy, @Param("department") String department, @Param("volunteer") Integer volunteer);

    Integer deleteUserByIds(Integer[] userIds);
}
